Optimal. Leaf size=19 \[ \frac {2 x}{(2-n) \sqrt {b x^n}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.00, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {15, 30} \[ \frac {2 x}{(2-n) \sqrt {b x^n}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 30
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {b x^n}} \, dx &=\frac {x^{n/2} \int x^{-n/2} \, dx}{\sqrt {b x^n}}\\ &=\frac {2 x}{(2-n) \sqrt {b x^n}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 17, normalized size = 0.89 \[ -\frac {2 x}{(n-2) \sqrt {b x^n}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {b x^{n}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 16, normalized size = 0.84 \[ -\frac {2 x}{\left (n -2\right ) \sqrt {b \,x^{n}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.97, size = 24, normalized size = 1.26 \[ -\frac {2\,x^{1-n}\,\sqrt {b\,x^n}}{b\,\left (n-2\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \begin {cases} - \frac {2 x}{\sqrt {b} n \sqrt {x^{n}} - 2 \sqrt {b} \sqrt {x^{n}}} & \text {for}\: n \neq 2 \\\int \frac {1}{\sqrt {b x^{2}}}\, dx & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________